/*! normalize.css v3..3 | MIT License | github.com/necolas/normalize.css */

html {
  font-family: sans-serif; // 1
  text-size-adjust: 100%; // 2
  -ms-text-size-adjust: 100%; // 2
  -webkit-text-size-adjust: 100%; // 2
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html,
body {
    height: 100%;    
    margin: 0;
    padding: 0;

    font-size: e-get($e-font-size, size, desktop);
    font-weight: e-get($e-font-size, weight);


    -ms-text-size-adjust: 100%; // 2
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; 

    a:hover,
    a:active,
    a:focus {
        text-decoration: none !important;
    }

    a,
    button {
        outline: none !important;
    }
}

body {
    display: flex;
    flex-direction: column;
    color: e-get($e-font-style, text);
}

canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* Customize website's scrollbar like Mac OS */
/* 
::-webkit-scrollbar {
    background-color:#f6f6f6;
    width:14px;
}

::-webkit-scrollbar-track {
    transition: all .3s ease;
    background-color:#f6f6f6;
    width:14px;
}

::-webkit-scrollbar-track:hover {
    transition: all .3s ease;
    background-color:#f6f6f6;
}

::-webkit-scrollbar-thumb {
    transition: all .3s ease;
    background-color:#c1c1c1;
}

::-webkit-scrollbar-thumb:hover {
    transition: all .3s ease;
    background-color: darken(#c1c1c1, 3%);
}
*/

/* set button(top and bottom of the scrollbar) */
::-webkit-scrollbar-button {display:none}

@include e-tablet {
    html,
    body {
        font-size: e-get($e-font-size, size, tablet);
    }
}

@include e-mobile {
    html,
    body {
        font-size: e-get($e-font-size, size, mobile);
    }
}